package com.zhoukx.prototype.deepclone;

import java.io.Serializable;
// 深拷贝
public class DeepCloneableTarget implements Serializable, Cloneable {

	/**
	 *
	 */
	private static final long serialVersionUID = 1L;

	private String cloneName;

	private String cloneClass;

	public DeepCloneableTarget(String cloneName, String cloneClass) {
		this.cloneName = cloneName;
		this.cloneClass = cloneClass;
	}

	// 因为该类的属性，都是Stirng，因此全部默认就行
	@Override
	protected Object clone() throws CloneNotSupportedException {
		return super.clone();
	}
}
